import java.util.Scanner;

public class Test34 {








    
    public static void main01(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] ch=in.nextLine().toCharArray();

        int k=ch.length;
        int sum=0;
        int count=1;
        for(int i=0;i<k-1;i++){
            if(ch[i] != '-')
                sum+= (ch[i]-'0')*(count++);
        }

        char c=(char) (sum% 11 +'0');
        if(c== ch[k-1]) System.out.println("Right");
        else{
            ch[k-1] = c ;
            for(char i : ch) System.out.print(i);
        }
    }
}
